package com.anzia.demo01;

/**
 *@ClassName TestOuter
 *@Description
 *@Author Anzia.
 *@Date 2021/4/10 19:32
 *@Version 1.0
 **/
public class TestOuter {
    public static void main(String[] args) {
        //创建外部类对象
        //Outer outer = new Outer();

        //创建内部类对象
        //Outer.Inner inner = outer.new Inner();

        //一步到位
        Outer.Inner inner = new Outer().new Inner();

        inner.show();
    }
}
